package com.hpq.common.event;

import com.hpq.user.domain.model.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 *  用户注册事件
 */
@Getter
public class UserRegisterEvent extends ApplicationEvent {
    private final User user;
    public UserRegisterEvent(Object source,User user) {
        super(source);
        this.user = user;
    }
}
